package com.bcbim.smart_water_interface.road.dao;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 道路信息表数据库实体类
 *
 * @author wxc
 * @version V 1.0.0
 * @date 2021-08-26 09:40:48
 **/
@Data
@Accessors(chain = true)

public class RoadDAO implements Serializable {
    private static final long serialVersionUID = -13930209368112584L;

    /**
     * 主键;
     */
    private String id;
    /**
     * 道路名称;
     */
    private String roadName;

    /**
     * 备注;
     */
    private String remark;
    /**
     * 删除标记,  0:正常,  1:删除;
     */
    private String del;
    /**
     * 创建人;
     */
    private String createBy;
    /**
     * 创建时间;
     */
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**
     * 修改人;
     */
    private String updateBy;
    /**
     * 修改时间;
     */
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;


}
